from selenium.webdriver.common.by import By

from base  import Base
class Page(Base):
    def wode(self):
        loc=(By.ID,'com.kongfz.app:id/tv_nav_name5')
        ele=self.find_ele(loc)
        return ele
    def zhanghao(self):
        loc=(By.XPATH,'//android.widget.EditText[@resource-id="com.kongfz.app:id/et_login_name"]')
        ele=self.find_ele(loc)
        return ele
    def mima(self):
        loc=(By.XPATH,'//android.widget.EditText[@resource-id="com.kongfz.app:id/et_pwd"]')
        ele=self.find_ele(loc)
        return ele
    def ys(self):
        loc = (By.XPATH, '//android.widget.TextView[@resource-id="com.kongfz.app:id/iconf_privacy"]')
        ele = self.find_ele(loc)
        return ele
    def lijidl(self):
        loc = (By.ANDROID_UIAUTOMATOR, 'new UiSelector().resourceId("com.kongfz.app:id/iconf_privacy")')
        ele = self.find_ele(loc)
        return ele
    def sj(self):
        loc=(By.XPATH,'//android.widget.RelativeLayout[@resource-id="com.kongfz.app:id/personal_center_user_wait_pay_layout"]')
        ele=self.find_ele(loc)
        return ele